//
//  YeeContainScrollView.h
//  HappyRent
//
//  Created by CoderYee on 2017/4/5.
//  Copyright © 2017年 内圈科技. All rights reserved.
//

#import <UIKit/UIKit.h>
//用于添加多个视图
//需要考虑到侧滑返回的时候->手势冲突


@protocol YeeContainScrollViewdelegate <NSObject>



@end

@interface YeeContainScrollView : UIView

@property(nonatomic,assign)NSInteger  currentIndex;

@property(nonatomic,weak)id<YeeContainScrollViewdelegate>delegate;


-(instancetype)initWithFrame:(CGRect)frame
                   withViews:(NSArray <UIView *>*)views
                  withTitles:(NSArray <NSString *>*)titles;

//刷新数据
-(void)reloadData;

@end
